package com.ruoyi.common.constant;

public class HttpUrlConstants {

    /**
     * 新浪财经沪深A股日行情请求连接
     */
    public static final String SINA_STOCK_DAILY_URL = "https://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/Market_Center.getHQNodeData?page=pageNums&num=pageSize&sort=symbol&asc=1&node=hs_a&symbol";

    /**
     * 新浪财经沪深300日行情请求连接*
     */
    public static final String SINA_STOCK_HS_300_URL = "https://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/Market_Center.getHQNodeData?page=pageNums&num=80&sort=symbol&asc=1&node=hs300&symbol=";

    /**
     * 新浪财经上市公司绩效报表请求连接
     * 1 第一季度
     * 2 第二季度
     * 3 第三季度
     * 4 年报* * * *
     */
    public static final String SINA_STOCK_PERFORMANCE_REPORT_URL = "https://vip.stock.finance.sina.com.cn/q/go.php/vFinanceAnalyze/kind/mainindex/index.phtml?s_i=&s_a=&s_c=&reportdate=reportdateV&quarter=quarterV&p=pageNums&num=60";

    /**
     * 新浪财经主力资金净流入情况请求连接
     */
    public static final String SINA_STOCK_MAIN_INCOME_URL = "https://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/MoneyFlow.ssl_bkzj_ssggzj?page=pageNums&num=100&sort=r0_net&asc=0&bankuai=&shichang=";

    /**
     * 新浪财经当日主力资金流入情况请求连接*
     */
    public static final String SINA_STOCK_MAIN_INCOME_NOW_URL = "https://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/MoneyFlow.ssl_bkzj_ssggzj?page=pageNums&num=100&sort=r0_net&asc=0&bankuai=&shichang=";

    /**
     * 新浪财经主力近N日资金净流入情况请求连接*
     * recentDay：3,5,10,20,60*
     */
    public static final String SINA_STOCK_MAIN_INCOME_RECENT_URL = "https://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/MoneyFlow.ssl_bkzj_jdtj_jd?page=pageNums&num=100&sort=symbol&asc=1&bankuai=&tian=recentDay";

    /**
     * 东方财富实时成交情况请求连接*
     */
    public static final String EAST_STOCK_REAL_TIME_TRADE_URL = "https://50.push2.eastmoney.com/api/qt/stock/details/sse?fields1=f1,f2,f3,f4&fields2=f51,f52,f53,f54,f55&mpi=2000&fltt=2&pos=-0&secid=tsCode";

    /**
     * 新浪财经财务报表关键指标采集请求连接
     * tsCode：股票编码 *
     */
    public static final String SINA_STOCK_PERFORMANCE_INDEX_URL = "https://quotes.sina.cn/cn/api/openapi.php/CompanyFinanceService.getFinanceReport2022?paperCode=tsCode&source=gjzb&type=0&page=1&num=10&callback=hqccall3212095059";

    /**
     * 新浪财经分钟级资金走势对照表*
     * tsCode 股票编码*
     */
    public static final String SINA_STOCK_MAIN_INCOME_REALTIME_URL = "https://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/MoneyFlow.ssx_ggzj_fszs?page=1&num=20&daima=tsCode&sort=time";


    /**
     * 新浪财经个股资金流入趋势对照表*
     * tsCode*
     */
    public static final String SINA_STOCK_MAIN_INCOME_TREND_UTL = "https://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/MoneyFlow.ssl_qsfx_zjlrqs?page=1&num=20&sort=opendate&asc=0&daima=tsCode";

    /**
     * 新浪财经个股历史成交分布*
     * tsCode*
     */
    public static final String SINA_STOCK_MAIN_HISTORY_DEAL_URL = "https://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/MoneyFlow.ssl_qsfx_lscjfb?page=1&num=20&sort=opendate&asc=0&daima=tsCode";

    /**
     * 新浪财经个股分价表*
     * tsCode
     * startDate
     * endDate
     */
    public static final String SINA_STOCK_HISTORY_DIST_UTL = "https://market.finance.sina.com.cn/pricehis.php?symbol=tsCode&startdate=startDate&enddate=endDate";


}
